﻿namespace IBTrader.Charts
{
    using System.Drawing;

    interface IGraphics
    {
        void FillPolygon(SolidBrush brush, PointF[] points);
        void DrawLines(Pen pen, params PointF[] points);
        void DrawString(string txt, Font Font, SolidBrush solidBrush, PointF point);
        void FillRectangle(SolidBrush brush, RectangleF rectangle);
        void DrawRectangle(Pen pen, Rectangle rectangle);
        void FillPie(SolidBrush brush, Rectangle rectangle, int startAngle, int sweepAngle);
        void DrawPie(Pen pen, RectangleF rectangle, int startAngle, int sweepAngle);
    }
}
